Preserve file permissions on Unix FileImpl::copyToImpl

Maintain file permissions on a file copy for Unix FileImpl::copyToImpl