hash copy now copies both file hash and file key