This error appears at completing the action of copy or move file/folder to any destination. It explains file with the same name already exists in that destination folder. It may be hidden file even you have deleted it.
I would suggest you follow the below steps to get rid of this error and problem.
Note: First things first, before moving forward backup your Mac with Time Machine
Step 01: Open Finder and go to the destination folder where you are copying files or folder
Step 02: Press ‘Shift + Command + .’ on your keyboard while finder is selected.
Step 03: Finder will show hidden files and folder across Mac
Step 04: Look for a file that is hidden with the name ‘Photos Library’ and delete it or move it to trash. And then empty trash.
You are good to go and you have just solved this problem…
I hope it helps.
Thanks & Regards