I want to replace hard drive, can I just copy it to a new one?

J u s t i n

Honorable
Oct 16, 2012
2
0
10,510
If I took out my hard drive from desktop A, and used laptop B to copy all of it's contents to a new drive, can I put the new drive in desktop A and everything work fine with no issues?