Scientists finally discover how giant copper deposits form around the world