All I want to do is copying everything in a folder to another and if the file does already existed (or readonly) in the destination folder, it will be overwritted.
Comment on Re: How to recursively copy files in a folder to another folder?
As moritz said, you can call XCOPY with system, but I'm not sure you will find an option to overwrite an existing readonly file in the destination folder.