If you want to change pipework then do it properly and drain the system.
Perish the thought that you go ahead with water in the system you're going to have to remove your finger from the end of the pipework in order to screw install valves and water is going to come out at a very fast rate...