if (card == null || permanent == null) {
return false;
}
if (IdOfCopiedCard == null || !IdOfCopiedCard.equals((UUID) object)) {
IdOfCopiedCard = (UUID) object;
cardToCopy = card.copy();
cardToCopy.assignNewId();
}
permanent.getPower().setValue(cardToCopy.getPower().getValue());
permanent.getToughness().setValue(cardToCopy.getToughness().getValue());
permanent.getColor().setColor(cardToCopy.getColor());