The main problem here is that you keep adding an extra --copy-only flag in all these commands.
All you need is gcloud artifacts docker upgrade migrate --projects=PROJECT_ID which will do the whole migration for you in place including preserving urls.
The --copy-only flag is generally only used as one part of a more complex manual migration (not usually recommended).