write a copy command in batch file code example Example 1: cpoying data in batch xcopy /s c:\source d:\target Example 2: copy paste in batch mv 'file' 'destination'