While I'm sure others can answer much better than I can, weight on its own, not even just in the barrel (and a heavier barrel has its own pile of benefits), is beneficial to accuracy. It comes down to simple Newtonian physics.
An object at rest wants to remain at rest. The more massive that object is, the harder it is to get it to move. When you get down into position, you really want that rifle at rest. Even assuming you are able to get into a perfect, fully supported field position you still have to exert a force on the rifle to break your trigger.
Is your trigger technique 100% flawless? Do you NEVER anticipate the shot? Let's go ahead and assume you are 100% perfect in your technique. The weight is still a benefit anyway. The heavier your rifle is, the less is will travel due to recoil during the dwell time of the bullet. Your rifle is much less likely to track incorrectly on your rest, or cause your bipod to hop if it is heavier.
If you still don't believe that a heavier rifle is inherently more accurate that the same quality of rifle on a diet, consider the sport of biathlon.
The fancy Anschutz most people use weighs in at over 8lbs. Its just a 22 and these athletes are also racing! Wouldn't they of anyone want the lightest rifle possible? Apparently not.