I don't believe a computer can get "broken", its always 1 part in it that's busted and causing the whole thing not to run correctly. and there's ways to find out what any 1 piece it was to repair or replace.
if you assume the whole thing is just busted as a whole, then putting random parts of it into your new one dont make sense. you would just be grabbing the stuff part