This question already has an answer here:
I am traveling first time to Canada, I have got the visa for Canada stamped on my old passport. Meantime I applied for new passport because it is going to expire in 4 months. Yesterday I received new passport. Today I received POE letter where it is mentioned that if you obtain new passport before your visa expires you will need to apply for new visa.
In this case what shall I do, please advise what can be the solution for this issue.