Copy a file.
Defined in <SDL3/SDL_filesystem.h>
const char *oldpath, const char *newpath); SDL_bool SDL_CopyFile(
const char * | oldpath | the old path. |
const char * | newpath | the new path. |
(SDL_bool) Returns SDL_TRUE on success or SDL_FALSE on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.