I would suppose you would do exactly that..
Just for a test, I had two bricks. The one getting/giving variables, and another to toggle whether that first brick magicly got some variables or gave them all to the player.
The Toggle Brick
[X] [0] onActivate -> namedBrick(GetGive) -> toggleEventEnabled -> 0 1 2 3 4 5
[X] [0] onActivate -> client -> chatMessage -> <color:ffffff>Brick Toggled!
The GetGive Brick
[X] [0] onActivate -> Self -> VCE_modVariable -> Brick -> Test -> Add -> 1
[X] [0] onActivate -> Client -> chatMessage -> <color:ffff00>[Status]<color:ffffff>: This brick currently has <var:br:Test> variables.
[ ] [0] onActivate -> Client -> chatMessage -> <color:ffff00>[Status]<color:ffffff>: All of the variables have been transfered to you.
[ ] [0] onActivate -> Self -> VCE_modVariable -> Player -> Test -> Add -> <var:br:Test>
[ ] [0] onActivate -> Client -> chatMessage -> <color:ffff00>[Self]<color:ffffff>: You now have <var:pl:Test> variables!
[ ] [0] onActivate -> Self -> VCE_modVariable -> Brick -> Test -> Set -> (Blank)
The brick increments by one 'Test' value each click. Then when toggled, it deletes all of it's variables after giving the player all of them.