I'm just asking because I don't remember if you need Wi-fi or not to do that.
Yes, you can! This is because the transfer uses infared signals between the two DS systems, and not WiFi signals that go to the Nintendo server and back. This is similar to DS/3DS Download Play.
Source: Doing the transfer with no internet