If Imperial Mask becomes a copy of something else after the ability triggers but before it resolves, the tokens will enter as copies of whatever the ex-Imperial Mask is now. If Imperial Mask became a copy of something else and then left the battlefield, the tokens will enter as copies of whatever it was copying when it last existed on the battlefield.