zcollection.fs_utils.copy_file#

zcollection.fs_utils.copy_file(source, target, fs_source, fs_target)[source]#

Copy a file from one location to another.

Parameters:
  • source (str) – The name of the source file.

  • target (str) – The name of the target file.

  • fs_source (AbstractFileSystem) – The file system that the source file is stored on.

  • fs_target (AbstractFileSystem) – The file system that the target file is stored on.

Return type:

None