Hindu Atman/Brahman vs. Buddhist Anatta ("no-soul")
Most of my beliefs align closely with Buddhism but this concept is causing some deep thought....Buddhists don't believe in any sort of soul, but they believe in rebirth. So my question is what is it that is transferred into the next life? Some places I'm reading regard it as being the unlying energy, independent of any temporal human ego or consciousness, that with your karma is transposed into a new being after death. But this is pretty similar to the beliefs of atman/brahman, but what I'm reading says these concept are two of the biggest distinctions between the theologies and that there's a great disparity with these beliefs, but I can't seem to see where that is!
Buddhism beliefs in no soul, whereas Atman is a human soul which I guess incorporates ego as a part of the ever-living soul of a person, which is where Buddhism says that they're wrong. But Atman is the individual consciousness which is wholly identical with the Brahman, the cosmic soul of the universe, which would imply that the ego differences between humans does not exist and all beings are in perfect synchronicity with the Brahman soul and this is where you return to when the body died. Buddhism believes in impermanence of absolutely everything, including a sense of self identification (ego) which makes sense and is why they disagree with the Atman as being an eternal manifestation of self. So I guess that's the distinction, but is Atman really all that affiliated with the ego? Do they think ego is eternal? If Atman is Brahman, that can't be so. So what's the deal??
I know I don't have to align myself with any particular religion and I should form my system of beliefs on my own introspection and contemplation of life and the universe, but I'm just trying to fully grasp these concepts.