xcopy:tldr:754ac
xcopy: Keep the source ACL in the destination.
$ xcopy ${path\to\file_or_directory} ${path\to\destination_directory} /o
try on your machine
The command xcopy is used in Windows to copy files and directories from one location to another.
In this command, the source file or directory is specified with the path\to\file_or_directory, and the destination directory is specified with the path\to\destination_directory.
The /o parameter is used to copy file ownership and ACL (Access Control List) information to the new location. This means that when the files or directories are copied, the ownership and permissions of the original files or directories will also be transferred to the destination.
Overall, this command will copy the specified file or directory to the specified destination directory while preserving the ownership and permissions of the original files or directories.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.