If you restart and boot the PC from the windows disk, it will give you an option to format the drive and install windows on it all at once. That would be the recommended way to do it.
Make sure to backup anything you want on disks or a separate drive first. Windows easy transfer works well for this (its on your computer if you search for it).
Exactly what i did 2 weeks ago. And it totally works with the same product key!