memcpy works now