Do you know what
Xcopy does in dos command? It is more powerful than the copy command. If you would like to copy all the files and sub-folders from one drive to another, you may need
xcopy command. Of course, you can use windows explorer interface to do it. But if you would like to write batch file, and run from DOS command,
Xcopy is very useful.
The below is an example listed from
MicroSoft website:
------------------------------------------------------------------------
Examples
To copy all the files and subdirectories (including any empty subdirectories) from drive A to drive B, type:
xcopy a: b: /s /e
To include any system or hidden files in the previous example, add the/h command-line option as follows:
xcopy a: b: /s /e /h
-----------------------------------------------------------------------------
More information can be found on this webpage from MicroSoft Website.