Copy a directory of files

Copies a directory of files. Based on code from http://msdn.microsoft.com/en-us/library/bb762914.aspx