This trick requires a Pokemon that knows "Thief," and a Ditto. Enter a double battle with an item-less Ditto and a Pokemon holding the item you want to duplicate. Make Ditto transform into the Pokemon holding the item, then switch the Pokemon holding the item with the Pokemon that knows Thief. Use Thief on Ditto and win the Pokemon battle. The Thief Pokemon should now have a duplicate of the item.