Can the cp command be used to restore a hard drive?
Yes, you could just copy it back, but it may not be bootable.  That can be fixed by installing OS X over the top of your files. It should preserve what is there and make it bootable.