Attempt to copy a file denied by permissions, but why?
This problem may occur because of wrong ownership. Try to run following command to change ownership for your user:

sudo chown -R $(id -un):$(id -gn) path_to_your_directory


In this example, sudo will give you needed permissions to perform operation, chown is a command to change ownership, -R will make operation recursive against target folder, $(id -un) is your current user name $(id -gn) is your current group name, path_to_your_directory shold be a path to folder you want to fix ownership.