Re: Error when copying file
Hi @Anonymous
Please follow the below steps to copy the file from one document library to another.
1. I had created a flow that will trigger when a file is created or modified and I have used the trigger action called 'When a file is created or modified (properties only)'.

2. Use the action named 'Get file content using path' to get the file content. Provide the 'Full Path' from the above action.
3. Add the 'Scope' action and inside add the action named 'Create File' mapped to the destination library.

4. Add another 'Scope' action and choose the 'Configure run after' property like the below. Which makes this scope to run only if the create file action failed which is because the file with the same name already exists, in this case, we have to update the file.

So inside this action, add 'Update File' action like the below.

Save the flow and try to run it and you should be successful. 😀
Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
-Sudharsan K...