Go to start>Run>CMD and press enter
Type xcopy /? And list the command switches to select your options
An example:
Echo off
Xcopy /y /e /I /d C:\<your source directory>\*.* D:\<Your destination directory>\
This example copies the contents of the source directory using the wildcard *.* which is all file names with all file extensions into a destination folder on the D drive. The /y suppresses any Are you sure , the /e switch says to copy empty directories as well, etc.. you will see what they mean if you print off the command switches.
After you are finished, go to file>save as and save the file as <your choice>.bat and change the file type to all files.
This will create a batch file which will perform an xcopy function.