mutapath.MutaPath.copy
- MutaPath.copy(dst, *, follow_symlinks=True)[source]
Copy data and mode bits (“cp src dst”). Return the file’s destination.
The destination may be a directory.
If follow_symlinks is false, symlinks won’t be followed. This resembles GNU’s “cp -P src dst”.
If source and destination are the same file, a SameFileError will be raised.