Red marks are likely to have been from a bacterial infection, which corys are quite prone too. You want to watch the remaining ones, especially as that is quite a small tank you've got them in (c. 6 gallons). Keep the substrate clean. And keep an eye on the state of their barbels.
Hang on, just spotted something. Your tank wasn't cycled! Adding water from another tank is not going to do it as most of the bacteria live on the filter media+ some on the substrate, very little in the actual water column. And a day won't have been enough to seed the filter media in the ohter tank, you;d need about 2 weeks for that probably. And the tank was most likely overstocked as well, what with 3 corys and the betta.
What are your water stats now? You probably need to keep doing water changes.