abstract fun Path.copyToIgnoringExistingDirectory(
Copies the entry located by this path to the specified target path, except if both this and target entries are directories, in which case the method completes without copying the entry.
The entry is copied using
this.copyTo(target, *followLinksOption). See kotlin.io.path.copyTo.
target - the path to copy this entry to.
false to copy the entry itself even if it's a symbolic link.
true to copy its target if this entry is a symbolic link.
If this entry is not a symbolic link, the value of this parameter doesn't make any difference.