So when the Creator “decided” to create the creature, as we say in corporeal language, He first had to create it as His opposite as well as to create a complete mechanism through which the creature would move toward resembling the Creator.
With this intention, He seemingly wrote the Torah, a system of commands and instructions that must be realized by the desire that was created by Him. That is how He brings the desire He created to greater and greater resemblance with Him. Moses wrote the Torah himself, but not from the point of view of management by the Creator because that Torah remains in the head of the world of Ein Sof (Infinity).
For Moses, it was recorded in the head of the world of Atzilut as an activity. So it is talking about the same thing, but on different levels.
From the Kabbalah Lesson in Russian 9/4/16