No, because the user of the move switched out. If you switch into a move that you're immune to and the user of that move stays in, you can copy it with Mirror Move. The moment the original user of the move leaves play, you can no longer copy the move with Mirror Move.
Does that answer your question?