file copy improvements