Implement --diff for the copy module.