That is independent from CAPI:
My message above was not directed at you, but Lancelot or Galopo, who have fiddled with this special version.
btw. You wouldn't happen to know if CAPIv22 overwrites by default in NativeEx?
CopyOrExpand, (which here is called from CAPI,) by default overwrites existing files w/o notice.
That is the original behaviour existing since that command has been introduced.
In later WB versions I introduced the 'PERSERVE' and some other options.
And if you do not give the PRESERVE to your native CopyOrExpand command, or to the corresponding CAPI function, it will overwrite.