The world will not run completely out of copper, be we can expect much higher prices.
"Copper and lithium are major exceptions where expected mined supply from announced projects falls short of projected demand in 2035, with implied deficits of 30% for copper and 40% for lithium"
Note that we kept extracting copper long after people said we would run out. We even increased production AND lowered prices.