You can rebuild the shell youve got if its not too bad you just have to inform the dvla who may want to check the work over to make sure its been done properly but it will always say on the logbook that its been written off at some point.
If you reshell it it will take on the identity of the car your reshelling to