Add actor to array and remove it from world

Hello
How do you add an actor into an array from the world and then remove the actor from the world. But still having it in the array list. I have searched all across the forums and hubs and don’t find any way to do this. In java I know you just say A = B, then you can destroy B and have A left. But in C++ when you destroy B, A seems to be a reference to B and therefor also gets destroyed in the process.
Please if you have found any way of accomplished this share it and thanks for your help!

I think more easier was is simply by hiding or destroying components and reconstruct them on reuse, insted of removing them from world.