Problem:
CBL_COPY_FILE returns a status code of 14596
Resolution:
The filename parameters that are passed to the CBL_COPY_FILE routine (and other CBL file related APIs) need to be space terminated.
Ensure that you initialise the variables and make them longer than the filename you intend to use.
Old KB# 3898