Windows 7 has a built in imaging program, but if switching hard drives I would not recommend Windows 7 built in imaging - use Clonezilla or a program linked below and make sure you buy a bigger hard drive then you currently have.
Create A System Image In Windows 7
After you install and activate Windows 7 create a system image as a backup for your current computer in case you ever need to reinstall it. This will restore your computer to it's exact state when the image was made - that will save you the trouble of having to reinstall Windows 7 and everything currently installed again, and it takes much less time to do.
1. Click the Start Menu and type "Back Up" then click on Back up your Files.
2. In the Control Panel window that appears, Click the blue Create a system image link.
3. The Create a system image window should pop-up. Select which hard disk, DVD, or network location you are going to save your system image to. Click Next to continue.
4. On the next page check both your System and System Reserved drives. Once you have selected the drives Click Next to continue. Note: You can select as many drives as you want (if available), but the more you choose to include means the larger the image size will be.
5. The next window is just a review, make sure everything is correct then Click Start backup to start the process. This can take 10 minutes or more so patience is required.
6. After the backup completes, you?ll be prompted with the option to create a system repair disc. This is a good idea just in case your system has any problems in the future. Click Yes.
7. Choose which Disc Recording drive you?ll be using to burn the disc. Insert a blank CD or DVD to the physical drive and then Click Create disc.