Copy/delete a file with API

HI,

im trying to write a program that copies and/or deletes any file and, if it copies, pastes it somewhere else.
How do I do that with the API functions?

Note: I know about the System("copy ...") function, but as system("") commands are getting a little outdated so im looking for the win32 API command.

Thanks in advance! :)
Googling "winapi copy file" leads to:
http://msdn.microsoft.com/en-us/library/aa363851%28VS.85%29.aspx

This should've been in Windows Programming for obvious reasons.
Thanks anyway :)
Topic archived. No new replies allowed.