Skip to content

raylib.FileCopy

JoeStrout edited this page Nov 16, 2026 · 3 revisions

Copy file from one path to another; returns 0 on success. If the destination path does not exist, it is created. Not supported on web

Parameters

Parameter Default Value Note
srcPath
dstPath

Return value

Condition Return Value
(always) number

Notes

Example

raylib.FileCopy "assets/config.txt", "backup/config.txt"

Clone this wiki locally