Gilgamesh.
BTW, the Creation Narratives appear to also be a rewrite of another very length Babylonian epic that I read quite a while back, but I can't remember if it had a particular name in common usage.
Rewriting or restating oral themes from other cultures is very commonplace historically, whereas one society takes what is covered in another society but reworks it to teach their own values and morals. If you want an example of that, go to Wikipedia and type in "Santa Claus" and see how that changed both location and some themes over the centuries.
Of course we know Santa Claus is a modern day, so to speak, fairy story.
Whereas Gilgamesh goes back 4,000 years where its knowledge comes from a cuneiform text in ancient Nineveh.
Gilgamesh finds someone who tells him the story about the deluge or flood.
Like other legends that story is somewhat similar, but he was instructed to tear down a house and build a ship.
To give up possessions and seek life and take the seed of all living things.
That man however could Not give or teach Gilgamesh about immortality which Gilgamesh wanted. So, like the rest of us they died.
The Noah story is Not about the teaching about immortality.
I think the Sumerian story about King Ziusudra ( Noah's counterpart ) is earlier than Gilgamesh.
So, to me, the Babylonian story came later on, being influenced by the earlier Sumerian story.
There is also the Chinese ruler Yu as the conqueror of the Great Flood, etc.
So, on and on it goes into many transformations from that old Sumerian account.
ALL the earth-wide legends have some parts of Noah's account, but they teach about immortality.
Unlike Noah's account, they paint a word picture of immortality, or the illusion of being immortal.
Thinking they will be more alive at death then before death. Survival after death which is Not what the Bible really teaches but rather that the dead know nothing, Nothing but sleep - Ecclesiastes 9:5; Psalms 115:17; Psalms 146:4