No they are not the same thing. Retained earnings are the undistributed accumulated profits less the accumulated losses. Net Income is essentially the profit for the year so yes, it is part of the retained earnings but you will need to account for the past results and the past dividends as well.