I have this pipe on top of my hot water tank and it's leaking at the knob:
I plan on replacing it but just got the idea if maybe I can cut out both of these pieces and replace them both with a single valve:
I was told by an employee at Rona that I should use this shark bite valve. You just push both ends of the copper pipe into it and somehow it's solid.
I was told I would need slack in the copper line to push it down into the valve, is this enough? The plastic pipe that joins the copper is pretty flexible.