Exodus 31:18 "And he gave unto Moses, when he had made an end of communing with him upon mount Sinai, two tables of testimony, tables of stone, written with the finger of God."
The ten commandments were written by the finger of God not Moses. The Mosaic law and the Law of God are two completely separate laws.
Matthew 22:37-40 are copied from the Old testament
37 Jesus said unto him, Thou shalt love the Lord thy God with all thy heart, and with all thy soul, and with all thy mind.
38 This is the first and great commandment.
39 And the second is like unto it, Thou shalt love thy neighbour as thyself.
40 On these two commandments hang all the law and the prophets.
Deuteronomy 64-9
4 Hear, O Israel: The Lord our God is one Lord:
5 And thou shalt love the Lord thy God with all thine heart, and with all thy soul, and with all thy might.
6 And these words, which I command thee this day, shall be in thine heart:
7 And thou shalt teach them diligently unto thy children, and shalt talk of them when thou sittest in thine house, and when thou walkest by the way, and when thou liest down, and when thou risest up.
8 And thou shalt bind them for a sign upon thine hand, and they shall be as frontlets between thine eyes.
9 And thou shalt write them upon the posts of thy house, and on thy gates.
Leviticus 19:18King James Version (KJV)
18 Thou shalt not avenge, nor bear any grudge against the children of thy people, but thou shalt love thy neighbour as thyself: I am the Lord.
As you can see Jesus was only repeating his Law during his ministry. Therefore we can gather that at no point did he change his law. But as you can see he made a way for us to follow it by being totally dependent on him.
RE: Do this and God will reveal himself to You.