If the original token is copying something else, then the new token enters as whatever that token copied. If it's copying something with X in its mana cost, X is 0.

Artwork
Loading artwork…
Replicator
Star Trek · #267 · EN
Nonfoil—Foil—
Card rules
When this artifact enters, create a Food token. (It's an artifact with "2,
, Sacrifice this token: You gain 3 life.")
2,
: Create a tapped token that's a copy of target token you control.
Ensigns generally get tired of unlimited desserts after about six weeks.
Rare · Illustrated by William Phifer
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
The token copies the original characteristics of the target token as stated by the effect that created it (unless that token is copying something else; see below). It doesn't copy whether that token 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. Notably, the token you create won't be attacking, even if the original token is.
If the target token had any "When [this token] enters" abilities, the new token also has those abilities, and they'll trigger when it's created. Similarly, any "As [this token] enters" or "[This token] enters with" abilities that the token has copied will also work.