How to automatically replace the copied image with the original image?

Whenever I make a copy of a texture image inside Blender, I want the copied image to automatically replace the original image in the Material Node.

So the copy should automatically replace the original image in the node.

Is it possible to do that with a script or addon?