Cp: target is not a directory in Linux

HI Team

I am finding all the file in one folder and need to copy that all file to some other folder by using Xargs command. But i am receiving the below error .

cp: target './file6 is not a directory. Even i cannot able to mv that folder

But i can able to delete that folder.
Please guide me how to copy all file using xargs

Hi,

find pass file1 file2… file6 to xargs and cp for copying files check last argument
and last argument must be a directory
try:
find . - type file -exec cp {} -rf sur3 ;