You are thinking of Miranda Cosgrove, who played Megan Parker on Drake & Josh.
She and Elizabeth Gillies share brunette hair and similar facial features, but they are different actresses (Gillies is known for Victorious and Dynasty).