adapted to UberFire ResourceCopiedEvent that now has comment as parameter