Fix stack smashing in CopyVertexData