memcpy and sdl overly bug fixed