He doubles the name, partly to show kindness and familiarity, and principally to make Moses more attentive to the business before him.
Related Commentaries of Exodus 3:4
Exodus 3:4
4 And when the LORD saw that he turned aside to see, God called unto him out of the midst of the bush, and said, Moses, Moses. And he said, Here am I.