I've always been pretty skeptical of the data which says handwriting is better for learning than typing. Yes, handwriting causes more brain activity, but just because your brain is doing more does not mean it's doing the right thing! For example, if I asked you to code FizzBuzz while riding a unicycle, I'm pretty sure you would show more brain activity than if you were just sitting at a desk. This does not mean it's…
Probably chunk of that is copying vs interpreting, meaning just writing the rule as written vs rewording it to make it more concise and fit your brain, but also part of it definitely is it you remembering where you wrote something down instead of having to scan through bunch of stuff just to find the place you need.