oooooooh Well it's goo that you let it sit for 24 hours before returning him to the tank.
A few questions:
How did you put him in the tank?
Where is this new tank located? -- High Traffic area? Low Traffic Area? By a window? In a dark corner? Under or near a vent?
Where was he while the tank was sitting and the filter was running for 24 hours?
Were the two containers in separate rooms? If so is one room hotter or colder than the other?
Are you using a water conditioner? If so what kind?
Was your tank previously Cycled as in the Nitrogen Cycle? The Nitrogen Cycle is different than letting your tank run through the water.
Is the tank planted? If so have you added any new plants recently?
Any new pieces of Decor?
There could be a number of things happening with him
If you have a test kit it'd be good to test the water and list the test findings. Ammonia being a top concern. PH being another. It'd be helpful to know how much nitrite/nitrate is in the tank too.
I also highly suggest
Betta Fish and Betta Fish Care because their info is usually great and they have a lot of helpful senior members. Although I have to warn you that many of the regular members can be intimidating and sometimes a bit harsh to new kids on the forum.