These 613 laws are often cited as the number of commandments in the Old Testament Laws; or the ceremonial laws, however, there is no verse in the Bible that gives 613 as the correct enumeration. There are other counts as well. There is no universal agreement among Jews or Christians that there are exactly 613 laws given by God through Moses, due to the facts that the original scripts or parchments have been destroyed. This is how Moses got the covenant from the Lord Exodus 24:1-8
The account of how Moses got the covenant and how he wrote it as a book
1 And he said unto Moses, Come up unto the LORD, thou, and Aaron, Nadab, and Abihu, and seventy of the elders of Israel; and worship ye afar off.24 :2 And Moses alone shall come near the LORD: but they shall not come nigh; neither shall the people go up with him.24 :3 And Moses came and told the people all the words of the LORD, and all the judgments: and all the people answered with one voice, and said, All the words which the LORD hath said will we do.24 :4 And Moses wrote all the words of the LORD, and rose up early in the morning, and builded an altar under the hill, and twelve pillars, according to the twelve tribes of Israel.24 :5 And he sent young men of the children of Israel, which offered burnt offerings, and sacrificed peace offerings of oxen unto the LORD.24 :6 And Moses took half of the blood, and put it in basons; and half of the blood he sprinkled on the altar.24 :7 And he took the book of the covenant, and read in the audience of the people: and they said, All that the LORD hath said will we do, and be obedient.24 :8 And Moses took the blood, and sprinkled it on the people, and said, Behold the blood of the covenant, which the LORD hath made with you concerning all these words.
Moses did not spend much time getting the covenant from God, God dictated them to Moses and Moses wrote them down and became a book, known as the “book of the covenant” You can now see the difference between the book of the covenant and the Ten Commandments