Most hard drive manufactures have tools that either come with a retail package drive, or that you can download from their web site.
These tools allow you to clone your existing hard drive onto your new hard drive.
Follow the instructions for connecting the new drive as a secondary or slave drive for the cloning process. Then once the task is complete, you can install the new drive as the primary master drive on your system.
It is always best practice to back up your data and critical files before doing any major system work.
A method I have used that works very well for this is to use a different computer for the clone process. I install the software on this computer and then install both drives in USB adapters. This is the easiest way if the computer you are replacing the hard drive on is a laptop.
Now, the above said, if you have been using this computer for more than 2 years, there is a benefit to starting over and installing all of your software onto the new hard drive. Conservatively, you can expect at least a 10% increase in performance with a clean software install.
Chas