in reply to How to recursively copy files in a folder to another folder?
Please read Yes, even you can use CPAN.
Anyway, you can call xcopy with the system function.