Fix overlapping memcpy
Merge pull request #34 from pperidont/fix_multipart

Fix overlapping memcpy