In order to copy your players and worlds, you have two options. Open up Terraria on your old PC, and move them all to the cloud, then open up Terraria on your new one and move them off the cloud.
Alternatively, you can go to do Documents/My Games/Terraria and copy all the files there into the same spot on your new PC.