file copy operations in place