If we have 4 coins to have the same number of heads as tales we have to have 2 o each so we can look in the list the options are:
HHTT, HTHT, HTTH, THHT,THTH and TTHH so we have 6 options and in total there are 16 option so the probability will be:

So the probability is 3/8