code: def copy_no_perm(src, dst):
      
      shutil.copy(src, dst)
      perm = os.stat(dst).st_mode
      shutil.copystat(src, dst)
      os.chmod(dst, perm)
docs: Copies a file from *src* to *dst* including meta data except for permission bits.