Is it better to fully pay off one credit card or divide payment between two credit cards?

In theory, if you have enough saved to pay off one of them, should you do that or divide payment between cards? Which option will raise your credit? I’ve heard if you pay off a credit card your credit score drops a bit before coming back up. Is that true?