Not right off hand, but put some error code checking in there and verify that the path exists without using the copy command - just pipe it to the console to see what the script is seeing.

Verify that the path is available during logon. Maybe the path is not ready during logon yet.