The tool "Move Selection" allows to move any selected segment of piping system in any direction. The geometry of pipes, connecting it to other part of the piping system will be automatically updated
Tools > Move Selection