I have 2 private docker repositories. Is any way how can I copy one image from one repository to the second one?
You can pull the image, tag it and push it to the new registry.
Example:
docker pull old-registry/app
docker tag old-registry/app new-registry/app
docker push new-registry/app
Can be done with https://github.com/containers/skopeo
Example for the README:
skopeo copy docker://quay.io/buildah/stable docker://registry.internal.company.com/buildah
The advantage is that Skopeo does not require Docker on the machine it runs on.