Summary: Use Copy-Item to duplicate content with Windows PowerShell.
How can I use Windows PowerShell to duplicate content?
Use Copy-Item—for example, to duplicate all files and folders from C:\Foo to D:\Foo, run:
Get-Childitem C:\Foo D:\Foo -recurse