I have the same problem , I flow your steps :
1- I install the whatsapp.
2- I copy the two folders "documents + Library".
My problem is I don't know how can I put the permissions to "mobile [501]"
can you help me to restore my chat history please
put any image for your solution .
thanks again