When a Zoroark uses Illusion (for example with Gengar), is then the name changed into Gengar???
Yes, as long Gengar is the last Pokemon in the party.
Source: Experience