That would depend on the state. Out her in commifornia you need to present both sets of paperwork to the dmv. Typically the registration out here follows the frame. The vin will be changed on the paperwork to match the new cab to the new frame.
then the other should be destroyed or submitted as...