To migrate Pokémon from the fourth generation into the fifth generation, you need an official copy of Pokémon: Black, White, Black 2, or White 2 for such transfers to work. Otherwise, the only other option you have is migrating to the fifth generation save directly, via save editing software...