The Pinto Valley copper mine in Arizona was supposed to stop producing in 2018.