copy_path
error = copy_path(path, buffer, bufferSize);
return copy_path(referencePath, pathBuffer, bufferSize);