Migrating files from one server to another is a common task. While there are 3rd party tools that do it, the built-in robocopy tool of Windows works very well.
Here is the base command we’ll use:
robocopy "\\source-server\data" "\\destination-server\Data" /MIR /SEC /R:0 /W:0 /LOG+:C:\Temp\Backup\RobocopyLog-Data.txt
This will need to be run from an elevated command prompt (as Administrator). It will mirror (/MIR) and copy security settings (/SEC) and everything is outputted to a log file for review.