Fixed copying for binary files (jpgs,exe,etc.)