/* Creates a new surface identical to the existing surface  */
SDL_Surface* SDL_DuplicateSurface(SDL_Surface *surface)
/* Creates a new surface identical to the existing surface  */
SDL_Surface* SDL_DuplicateSurface(SDL_Surface *surface)
{
    return SDL_ConvertSurface(surface, surface->format, surface->flags);
}