The following attributes are preserved:
- Name
- Contents
- Time of last modification (nanosecond precision with Python >= 3.3)
- User ID of owner
- Group ID of owner
- Unix Permission
- Extended attributes (xattrs)
- Access Control Lists (ACL) on Linux, OS X and FreeBSD
- BSD flags on OS X and FreeBSD