adapted to UberFire ResourceCopiedEvent that now has comment as parameter

(cherry picked from commit 315f603f8c140e3bf9ea875b4b9913274a4190a8)