As mentioned in the comments, rather than using
. If the user's profile has been redirected, or the system drive is not drive
, then your script will currently be copying to the wrong path.
You might want to try
robocopy | Microsoft Docs