Do you want to see the solution of the riddle? Click the following button
This was a hard one...
So, the trick is very simple (if you know it of course). Whenever you pick matches, get as many as you need so that the remaining matches are always multiples of 4. So, star by taking one (20 remain =4x5). At the end, there will be 4 matches for him, so whatever he does, you win!