mutapath.MutaPath.copy2¶
-
MutaPath.
copy2
(dst, *, follow_symlinks=True)[source]¶ Copy data and metadata. Return the file’s destination.
Metadata is copied with copystat(). Please see the copystat function for more information.
The destination may be a directory.
If follow_symlinks is false, symlinks won’t be followed. This resembles GNU’s “cp -P src dst”.