Ye, computers from PC world usually all come with a OS disk, which will restore it to the "factory" settings. As stone said. ^^
Maybe there are some corrupted files on your old hdd, which are causing it not to function properly? if this is the case, i would reccomend you do not copy the files...