Gen. David Petraeus to replace Gen. Stanley McChrystal as commander of forces in Afghanistan, source tells CNN.