推荐一款Windows自带的强大的copy工具:ROBOCOPY
USAGE:
robocopy source destination [file[ …]] [options]
Tutorial:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy
Example:
Copy files include directory with file filters
ROBOCOPY source target *.cpp /S
Another similar tool:
XCOPY
Xcopy Source [Destination] [/w] [/p] [/c] [/v] [/q] [/f] [/l] [/g] [/d [:MM-DD-YYYY]] [/u] [/i] [/s [/e]] [/t] [/k] [/r] [/h] [{/a | /m}] [/n] [/o] [/x] [/exclude:FileName1[+[FileName2]][+[FileName3]] [{/y | /-y}] [/z] [/b] [/j]
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/xcopy