If I install a new cpu will I need a new copy of windows?


As long as you do not change the motherboard, Your windows install will be valid.
That is for OEM copies.

Retail ones allow you to swap anything you want(may still want to reinstall with board changes) as long as it is only on ONE system at any time.