If any pokemon learns a move in gen III & IV, then is transferred to pokemon black / White then breeds with a pokemon in it's egg group that has that move as an egg move, then the baby will have that move. Ex- I wanted a deino with dark pulse. I got a male seviper on pokemon platinum, used dark pulse & transferred it to black. I bred it with my female deino & BAM a deino with dark pulse.
Hope it helps