Then a subsequent migration within and out of Africa eventually replaced the earlier H. erectus . A subsequent migration within and out of Africa eventually replaced the earlier dispersed H. erectus .