Careful about the transfers robbertop65!
The rules are unhappily asymmetrical regarding share "transfers" to a TFSA.
If you transfer shares in a winning position, then as you said, they are deemed to have been sold just before transfer, such that you have to count your capital gain -one last tax grab before you protect your investment from Flaherty.
If you transfer shares that are in a losing position at the time of transfer (eventually SKP will go back to 0.40 and beyond, I'm sure!), then you cannot claim a capital loss on those shares if you do a direct transfer to the TFSA -gov't shafts taxpayer again!
If you want credit for the loss, sell the shares outside the TFSA, declare the loss, transfer the cash to TFSA, and buy the shares back.
Another thought to consider: If you think "If I sell those losers, there's no way I would buy them back!," then why would you be holding them now? If they're not good enough to buy with fresh money, then they're not good enough to be in your portfolio. Cash 'em in, get the money and do something else with it.
Pinawanian