Copy Range but Skip blank rows Q Options

How do I copy (values) a range of cells that have blank rows in
between to another range without the blank rows. I thought it was
paste special values-skip blanks, but when I do I still see the blank

eg Copy values in A1:A5 (blank rows are in A2 & A4) to M1:M3