zut.files.copystat
- zut.files.copystat(src: str | Path, dst: str | Path, follow_symlinks=True)
Copy the read-only attribute, last access time, and last modification time from src to dst. The file contents, owner, and group are unaffected.
If follow_symlinks is False and src and dst both refer to symbolic links, the attributes will be read and written on the symbolic links themselves (rather than the files the symbolic links refer to).