As BurrWalnut said, it possibly would not boot, unless the specs of the second computer were identical to the first, simply because the drivers of the two machines would not match.
However, if you are replacing a hard drive, it is possible to partition a hard drive in such a way that the clone could be placed on the new drive. For that purpose, I would use Acronis True Image
-------------------- "Only the stupid don't ask questions." My piccies