C++ Copy Directory

How would I go about copying a directory named C:/u/ to something like "C:/Program Files/Backup"? WITHOUT using system().

My alternate solution was trying to figure out how to make a C++ program write a batch file somehow that copies what I want then deletes itself. But I have no clue how I would go about that.

If you have any information on this, or could direct me to an old thread that has some information on this, Thank You.
Nevermind, found out that I can use fstream to write to a batch. Doooone.
Topic archived. No new replies allowed.