You need to have 2 of the item you want duped, then either use one, or drop one, and you will have 99. The only exception is Titanite, you need one more than the amount required to upgrade. So, if you need 2 titanite shards to upgrade, then you need 3 in your inventory, or it will use the 2, and...