Fixed a file copy issue for arguments