Lopez scored 38 points, hitting 15-of-22 from the field as part of the Nets' 50 percent shooting effort.
Deron Williams added 31 points, 26 of them coming in the second half. Brooklyn has won the first two games of an eight-game road trip.
Brooklyn overcame a 10-point deficit after one quarter to gain revenge for a home loss to the Mavericks in their only other meeting this season.
'SNL': 'Anchorman 2' cast, One Direction sing 'Afternoon Delight' [VIDEO]
Exploding whale video goes viral on Internet