I'd use this EXT2 driver: http://www.fs-driver.org/
Remove one of the drives and connect it to a computer, make sure you can read it using the above mentioned driver.
Remove the other drive, install the two new drives and format them in RAID-1. Copy the data back from the removed drive connected to the PC.
This keeps at least one backup of the data during the process.
Please note that RAID-1 is NOT backup, so even after the switch you still need backup for the NAS.