fix cygwin syscopy