Can I use the existing rigid copper plumbing when replacing a water heater?
The expansion tank shouldn't be supported by the water heater to begin with. Install the flexible piping and support the expansion tank with some 2x4 bracing and a pipe strap.