A creature could borrow another’s genes at any stage in its life. Indeed, that is exactly what bacteria do. They simply hook up with each other like refueling bombers, pass a few genes through the pipe, and go their separate ways. Reproduction they do later, by splitting in half.