fix copy test on win32