Something like this:
rem *****************************************************
rem Robocopy from network share
rem *****************************************************
IF NOT EXIST "C:\Test" MD "C:\Test"
net use \\1.2.3.4\TestShare /user:username password
ROBOCOPY \\1.2.3.4\TestShare C:\Test /S /SEC /V /NDL /NP /NFL /R:4 /W:15
NET USE \\1.2.3.4\TestShare /DELETE
If you are wondering why ROBOCOPY is used in this DOS batchfile, that's because it is more reliable than a normal COPY, networks can be unreliable and ROBOCOPY can cope with this.