This is a dumb question, but how can I, with Visual C++, copy one file to another path ?

I have dos functions that will do this, I'm not quite sure they will support the long filenames. Curiously there doesn't seem to have a Copy function in the CFile class.. but it has a rename..

Thank you.