I doubt there's a DIY plumber out there who hasn't experienced the frustration making multiple trips to the hardware store to complete a repair ... pipes of different materials with transition ...
of pipe must be removed, you can make the repair by cutting the pipe and soldering (“sweating”) on an ordinary pipe coupling.