At the receptacle connect both black wires to the gold screws and connect both white wires to he silver screws. NOTE if the receptacle was only half switched then you need to replace the receptacle as the tab will be cut between the gold screws.
At the switch connect the white from the new light to the white from the switch. Connect the two black wires to the switch. The switch will now control the light at the end of your new cable.