Copy a file */
| 3251 | |
| 3252 | /** Copy a file */ |
| 3253 | int CPLCopyFile(const char *pszNewPath, const char *pszOldPath) |
| 3254 | |
| 3255 | { |
| 3256 | return VSICopyFile(pszOldPath, pszNewPath, nullptr, |
| 3257 | static_cast<vsi_l_offset>(-1), nullptr, nullptr, |
| 3258 | nullptr); |
| 3259 | } |
| 3260 | |
| 3261 | /************************************************************************/ |
| 3262 | /* CPLCopyTree() */ |