def copy_analysis_files(cls, orig_dir, dest_dir, copyfiles):
        """ Copy a list of files from orig_dir to dest_dir"""
        for pattern in copyfiles:
            glob_path = os.path.join(orig_dir, pattern)
            files = glob.glob(glob_path)
            for ff in files:
                f = os.path.basename(ff)
                orig_path = os.path.join(orig_dir, f)
                dest_path = os.path.join(dest_dir, f)
                try:
                    copyfile(orig_path, dest_path)
                except IOError:
                    sys.stderr.write("WARNING: failed to copy %s\n" % orig_path)
Copy a list of files from orig_dir to dest_dir