Fix Windows copy error