fix for large size file copy