Seen it twice now: it really is backwards...

to duplicate:
Create an app that replaces an existing file. (replace A with B)

Set it to 'confirm' the replacement.

When the confirmation window shows up, it asks if you want to replace B
with A. dates and file sizes match the names.

If you say yes, it does go ahead and replace A with B.

Dialog window fouled up?