Fixed memcpy Crash