geofileops.copy#

geofileops.copy(src: Union[str, PathLike[Any]], dst: Union[str, PathLike[Any]])#

Copies the geofile from src to dst.

If the source file is a geofile containing of multiple files (eg. .shp) all files are copied.

Parameters:
  • src (PathLike) – the file to copy.

  • dst (PathLike) – the location to copy the file(s) to.