Switch to WinAPI copy function