That's totally incorrect. The law of Moses was more than that one commandment. You could keep that one commandment perfectly and still be put to death under the law of Moses for violating other things, e.g., sabbaths. So they are obviously not the same laws.