improved copy commands for Windows