If Sunfrill Imitator copies a legendary creature, Sunfrill Imitator will also be legendary, but because its name remains Sunfrill Imitator, the "legend rule" won't cause either of them to be put into the graveyard.