fixed bug in file copying