Yes. When you make an "in-kind" transfer from non-registered to TFSA, the securities will be valued at that current time (when you make the transfer). And if you make a gain between this value and the time you bought them, you'll have to pay capital gain tax. Something called "disposition" if I am not mistaken.