If that is all you want to do, I'd recommend you do a clean install. Whilst usually, a hard drive will be plug n play. So you could just backup your drive, unplug it, plug it into the new PC, and done... BUT...
Not doing a clean install and configuring it with new hardware can often cause problems.
So it's up to you. Realistically you'd be best just backing up all your data and files on another drive, then formatting the drive being moved, then installing it into the new PC, and finally reinstalling programmes and copying back over the data and files.