Inaccurate?

Replicate Casting

(Spell Compendium, p. 173)

Transmutation [see text]
Level: Sorcerer 9, Wizard 9,
Components: V, S,
Casting Time: 1 round; see text
Range: See text
Effect: One spell or spell-like ability
Duration: See text
Saving Throw: See text
Spell Resistance: See text

The enemy mage raises her hands, and a cone of swirling, multicolored winds appears at her fingertips. Then she laughs and says, "Can you do that?" You smile and reply, "I can now."

You duplicate the effect of any one spell or spell-like ability you have seen within the last round. This spell can duplicate only spells and spell-like abilities of 8th level or lower. This duplication functions like the ability of a wish spell to duplicate another spell, except that it is not limited by type of spell (divine or arcane) or by what school the effect is from. If the casting time of the spell you observed is greater than 1 round, the casting time of this spell is increased to the same.

A duplicated spell or spell-like ability functions as if you had the appropriate spell prepared and were casting it yourself. If the spell or ability has an XP cost, you must pay that XP cost. If the spell has a costly material component, you must provide that component or pay an additional XP cost equal to the gold piece value of that component divided by 5.