If the copied creature has X in its mana cost, X is 0.

Artwork
Loading artwork…
Sunfrill Imitator
The Lost Caverns of Ixalan Commander · #94 · EN
Nonfoil—Foil—
Card rules
Whenever this creature attacks, you may have it become a copy of another target Dinosaur you control, except its name is Sunfrill Imitator and it has this ability.
3/3
With a flare of plumage and an earthshaking bellow, it can scare off predators three times its size.
Rare · Illustrated by Brian Valeza
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Sunfrill Imitator copies exactly what was printed on the original creature, with the listed exceptions (unless that creature is copying something else or is a token; see below). It doesn't copy whether that creature is tapped or untapped, whether it has any counters on it or any Auras or Equipment attached to it, or any non-copy effects that have changed its types, color, power and toughness, and so on.
If the copied creature is copying something else, then Sunfrill Imitator becomes a copy of whatever that creature is copying.
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.
If the copied creature is a token, Sunfrill Imitator copies the original characteristics of that token as stated by the effect that created the token. Copying a token doesn't make Sunfrill Imitator a token. Similarly, if Sunfrill Imitator itself is a token, copying a nontoken permanent doesn't make it stop being a token.