I have the case popped in half and the unit all disassembled but the studs for the brake master cylinder look to be welded in

My Questions are
1. How do you remove these existing studs without damaging the housing?
2. Where do I get replacement studs as it looks like the existing ones will need to be destroyed to get them out.
3. How much does the length of master cylinder pushrod have to change to suit the A9X master cylinder?
Thanks
M@