Nope, this is for linux.
I've found the system() function which allows system calls, and I've got this at the moment:
C code:
void file_copy(char source_file[] , char dest_file[])
{
char cmd[1000];
sprintf(cmd , "cp -p %s %s" , source_file , dest_file);
system(cmd)
}
Now I just need to figure out why my source argument appears to be coming in as blank.
:?