>Replace your windows HDD
then when you've installed ubuntu on the new HDD you can put the old one back in the system and access your information.
If you still have an OS on the old drive you can interrupt the boot (usually F2) and pick the old drive to boot from to run your original OS if you need to.