Copy specific owner files from one location to another

I used the following commad to accomplish the task:
sh-4.2# pwd
sh-4.2# sh-4.2# find . -type f -user anita -exec cp -p {} /official/ ;

The result was failed
Can anyone please let me know what was wrong in this case?

I am also facing same issue.

Hello, @Prav @supriya
You have to share your work in the “Review” section because there we can see what the questions are and what you did.

You can try:
sudo find /home/usersdata -type f -user john -exec cp --parent -a {} /beta ;
Worked just fine for me!

need to give backslash at end