The decision as to whether a current visa in a voided passport is acceptable is one made by the specific country issuing the visa. Thus, you would need to check with that country. This information is generally available on that country's embassy / consular website in your country. The general answer is that you carry both your new passport as it is your passport and the voided passport because it is simply the document which holds your visas. But, that is general information only.