I recall from decades ago that one of the cartoon Star Trek episodes had Kirk meeting a version of himself from a previous cycle of the universe. The universe was suppose to be cyclical, oscillating between expansion and collapse, with the big bang being the transition from collapse to expansion.
I browsed the episode synopses on Wikipedia, but none seem to correspond. Can anyone recall which episode this was?