code: def _copy(self, filename, destination):   # pylint: disable=no-self-use
          
          full_filename = os.path.abspath(os.path.expanduser(filename))
  
          if os.path.isdir(full_filename):
              shutil.copytree(full_filename, destination)
          elif os.path.isfile(full_filename):
              shutil.copyfile(full_filename, destination)
docs: Copy a file or folder to the repository.
  
          Will mount if needed.
  
          Args:
              filename: Path to copy.
              destination: Remote path to copy file to.