command line
How to Keep the Existing File Attributes (Owner, Timestamp, etc) When Copying Files or...
When copying files and especially directories, sometimes you want to keep the existing file attributes. For example, you may likely want to keep the same owner, group, timestamp, etc. You can keep the attributes by using the preserve argument. preserve=all