Following the POSIX API, there are 2 versions of the function: unix_copy_file(), and unix_fcopy_file(). One works with file descriptors, and is preceded with f (like fchmod(), fchown(), fstat() et ...
Look up the SH* series of function for shell stuff in the Win32 docs - there is a feature here to copy directories. i dont know if you can turn off the UI part of it, but it will copy whole directory ...