Imitator Learning: Achieve Out-of-the-Box Imitation Ability in Variable Environments