Help please teleportation code is not working for me

You can test it in the test level, Im trying to make portals work similar to portal 2

im trying to make the code all in the player but I dont know if thats possible, when you go through the portals it works, but when you move the portals with the gun it teleports you to the original position. i can make it work by destrying the player and spawning it at the other portal but i want to do it with positions

i want the same player teleported to the other portal along with the things its holding

Ok first of all the Extract isn’t extracting anything