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 ...