what motherboards do you have?
what cpu do you want to use?
It may be easier to just plug your hard drive into the old computer and use their os and just have the data from your old computer.
You will have issues with drivers but there are ways around it.