I seriously doubt you will be able to fit a new end onto the original pipework, it is steel and you would need a hydraulic press for the new end.
The few which have been changed either just replaced the last section (9 or 10) or fitted a new copper brake pipe by pushing it along the sill (like the sc chargecooler hoses).