Rovers ended a run of four straight defeats to move up to third in League One.
Magnus Okuonghae cancelled out Max Power's early opener but then it was all Rovers, with Jean-Louis Akpa Akpro, Ash Taylor and Cole Stockton scoring before Michael O'Halloran netted from the spot.
Moore said: "Winning is a habit and so is losing. We'd lost a few games but this league is very tight and it's very pleasing to get the win.
"I don't think I've ever lost four games in a row like that since I've been a manager but we hit the self destruct button with two of those defeats after getting players sent off.
"But we knew that with our budget we would have a blip sooner or later and you have pressure at the top and the bottom.
"We've been disappointed with the results before today but the spirit is good and we saw that today.
"I thought our second goal was a turning point in the game and it came at a good time.
"Colchester were the home side but when we went in at half-time 2-1 ahead, we felt that there would be more goals in the game for us."