|Temporary disable the corrupted drive.|
Install the new drive and re-install Windows and all your applications.
Re-enable the corrupted drive and copy what data you can to the new drive.
Reformat the corrupted drive.
Any other way and you run the risk of transferring the corruption the the new drive.