To change ownership:
chown user:user filename
To change permission [x being a number]
chmod xxx filename
I don't know which permission you want. So I can't give you the number. You could also google it.
I recommend backing up the SQL through phpmyadmin and then import it. I feel like this would minimize database corruption.
but if you insist on copying it like you did, then you need to use this extra command option with the copy command to copy the ownership and permissions with it:
cp -p