Here is a link on the Microsoft site that lists all of the switch options for XCOPY. The /a and/m switches control how to handle the archive bit of a file.
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/xcopy
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/xcopy