Use memcpy to copy floats for vertex input