code: def copy_plus(orig, new):
      
      for ext in ["", ".idx", ".gbi", ".tbi", ".bai"]:
          if os.path.exists(orig + ext) and (not os.path.lexists(new + ext) or not os.path.exists(new + ext)):
              shutil.copyfile(orig + ext, new + ext)
docs: Copy a fils, including biological index files.