Yes. A similar question was asked. If you get any pokemon from gen III & IV & transfer it to a gen V game, then breed, egg moves on the gen III/IV father, the baby will have them despite the fact that they are from different generations.
Ex- I have a seviper w/darkpulse in gen IV. I put it on black & breed with a female deino. My new deino will now have dark pulse.
Hope this helps:)