Real scholars understand that Genesis 1 (which really ends at 2:3) is the summary outline of creation, while Genesis 2 focuses on the creation of man and explains it in more detail. This recapitulation was typical for narratives of the Ancient Near East. As explained by Gleason Archer (1916–2004), Professor of Old Testament and Semitics at Trinity Evangelical Divinity School, Deerfield, Illinois:
[The] technique of recapitulation was widely practiced in ancient Semitic literature. The author would first introduce his account with a short statement summarizing the whole transaction, and then he would follow it up with a more detailed and circumstantial account when dealing with matters of special importance. [Archer, A Survey of Old Testament Introduction , p. 118, 1964.]
Differences between Genesis 1 and 2?
OK you have now had a YEC answer you on this.