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