Zone from = game.getZones().get("Stock");
Zone to = player.getZones().get("Hand");
ActionPick action = new ActionPick();
try {
action.playerActed(new ActionEvent(game, player, from, to,
null));
game.registerAction(action);
} catch (ActionException e) {
// there shouldn't be any problem here !