Aine wrote: You don't really think the story of him floating down the Nile in a reed boat is true, do you?
The story of Sargon of Babylon predates Moses by almost a 600 years.
The story goes on to relate some of Sargon's deeds. None of these are claimed to find parallels in Moses' account. Some of the similarities commonly cited are:
The secrecy factor surrounding the birth
The placing in a reed basket, covered with bitumen
The setting in a river
The recovery and adoption
On the other hand, dating is a serious issue. Of course many critics date Exodus late, to 600 BC; we would say 1400 BC. On the other hand, the Sargon story "lacks any obvious grammatical, lexicographical, or philological feature that would allow a precise dating."  The initial date range is anywhere between 2039 and 627 BC.
Truthfully I don't know if it is real or imagined.