To be able to use this glitch you need TWO blocks of what you want to duplicate. Set down one block and leave the other one in your inventory. Now press the home button and stop running Minecraft. Open Minecraft and go straight back into that world and you have three blocks now. (Tip: you may have to walk back were you placed the block).