I assumed that this command was called multiple times, which is why it had +=, but I just tested it and it looks like only 1024 bytes. I'll do the loop properly.