You need to read this article.
Never mind articles...I just go to the original source...and yes I know it wasn’t just the ten commandments and yes Moses did write down other pronouncements over time as He and God were in constant communion. The Bible mentions though two specific times where Moses received the law...once directly from God’s own hand and another where Moses has to write it all down. Other laws, dictates and prophecies were written down by Moses as God revealed them through out the 40 years the nation of Israel wandered!
In other words....no kidding?! Really?!