DALLAS -- Vince Carter drove the baseline and leaped, his feet hovering over the end line, when he reached out with his right hand and made a reverse layup.
|More on Knicks-Mavericks|
|More NBA coverage|
Dallas held on for a 114-111 victory Wednesday night after Carmelo Anthony was short on a potential go-ahead jumper with 4 seconds left, then fouled out when going after the rebound.
"Big confidence boost," Mayo said.
The Mavericks (7-6), who will be without Dirk Nowitzki maybe another month, avoided going under .500 for the first time this season by beating what had been the NBA's only one-loss team.
Darren Collison, the point guard who this season replaced Jason Kidd in the Dallas lineup, had 19 points and seven assists. It made up for a 2-of-11 shooting game two nights earlier and a 1-of-8 performance in New York almost two weeks ago.
"First and foremost, it was a collective effort," said Carter, who finished with 25 points. "This was one of [Collison's] best games since the very beginning of the season. He's very hard on himself. ... He wants to win, and that's what I like about him."
Mayo scored 10 of his 27 points over the final six minutes of the third quarter, when Dallas charged ahead with a 20-8 spurt. His 17-foot fadeaway jumper with 43 seconds left in the third broke an 80-all tie and put the Mavericks ahead to stay.
Dallas was up 102-90 on Carter's floater with about 6 minutes left, only a few minutes after his highlight play.
Then the Mavs had to hold on against a Knicks team featuring Kidd and Tyson Chandler, members of Dallas' only NBA championship team just two seasons ago.
Dallas didn't keep Chandler after the lockout that followed its title, and Kidd signed with New York as a free agent last summer after initially indicating he was staying.
"I loved Dallas. What we accomplished as a team will always be special to me," Kidd said. "But now I'm in New York trying to accomplish that again."
Kidd, who said he never got a chance to talk to Mavs owner Mark Cuban, had a season-high 17 points. Chandler had 21 points and 13 rebounds.
Chandler had three three-point plays in a late 21-10 spurt.
The last of Chandler's three-point plays came with 1:37 left, when he was fouled by Carter making a basket and hit the free throw to get the Knicks within 112-109.
After Carter threw up a wild shot at the other end, Kidd grabbed the rebound. Kidd was fouled by Carter and hit both free throws to cut the deficit to one with 1:15 left.
New York had its chances in the final minute. Anthony drove to the basket and drew some contact. There was no foul called, even as he stopped and held his chin and mouth.
While Anthony was slow up the court, Collison's missed badly with 24 seconds left. The Knicks called timeout, and Anthony had time to recover, but came up short on a 15-footer. He then fouled out, and Dahntay Jones sank two free throws.
"With the ball in [Anthony's] hands, we'll live and die with that every time," Felton said.
With about 2 ½ minutes left after consecutive offensive rebounds by Chandler, Anthony made a spinning move. He threw the ball up and in, but the basket was nullified when he was called for a charging foul against Carter.
Chandler got a nice ovation during pregame introductions, and that was topped by the reception Kidd got when he was the last New York starter introduced.
"It was great. Dallas has the best fans," Kidd said. "The warm welcome is always appreciated. But I know they were cheering for us to lose."
Kidd had an assist on Felton's 3-pointer to start the game, and there were a handful of boos from the crowd when Kidd made an early 3-pointer that put the Knicks up 8-3. There were a few "airball" chants when he came up well short on another 3-pointer right after that.
The Knicks had a 23-13 lead with Felton drove for a layup with 4:27 left in the first quarter. Dallas then scored 11 consecutive points in less than 2 ½ minutes, going ahead 24-23 on Mayo's driving layup.
Steve Novak made a 3-pointer with just under a minute left in the first, and the Knicks didn't trail again until late in the third.
|O.J. Mayo's 27 points help the Mavericks hand the Knicks just their second loss of the season. (Getty Images)|
|New York (8-2)||28||26||26||31||111|
|Dallas (7-6) «||24||25||35||30||114|
|NY:C. Anthony 23 Pts
NY:T. Chandler 13 Reb
NY:R. Felton 11 Ast
|DAL:O. Mayo 27 Pts
DAL:E. Brand 8 Reb
DAL:D. Collison 7 Ast
|Players of the Game|
Dallas Mavericks 2011 NBA Finals Bumper Sticker
$1.99 Shop Now!
|C. Anthony, SF||41||7-16||7-8||6||4||6||23|
|T. Chandler, C||39||8-9||5-7||13||1||1||21|
|R. Felton, PG||39||8-17||0-0||2||11||3||18|
|J. Kidd, PG||36||5-8||2-2||6||5||2||17|
|R. Brewer, SG||22||1-3||1-2||0||1||2||4|
|J. Smith, SG||32||5-13||3-3||3||2||2||14|
|R. Wallace, PF||18||4-9||0-0||7||1||0||11|
|S. Novak, SF||13||1-2||0-0||0||0||1||3|
|M. Camby, C||Did Not Play|
|K. Thomas, PF||Did Not Play|
|A. Stoudemire, PF||Did Not Play|
|J. White, SG||Did Not Play|
|I. Shumpert, PG||Did Not Play|
|C. Copeland, SF||Did Not Play|
|P. Prigioni, PG||Did Not Play|
|Complete Box Score|
|O. Mayo, SG||36||10-17||4-5||0||2||1||27|
|S. Marion, PF||34||3-6||0-0||7||3||1||7|
|D. Collison, PG||34||7-11||4-4||2||7||0||19|
|C. Kaman, C||28||5-10||0-1||5||1||4||10|
|T. Murphy, PF||18||0-3||2-2||5||0||0||2|
|V. Carter, SG||23||9-17||2-3||2||0||4||25|
|J. Crowder, SF||21||4-6||1-2||4||1||1||12|
|E. Brand, PF||20||1-3||2-2||8||3||5||4|
|D. Jones, SG||15||2-9||0-0||6||5||1||4|
|D. Jones, SG||13||1-3||2-2||3||0||1||4|
|D. Nowitzki, PF||Did Not Play|
|B. Wright, PF||Did Not Play|
|R. Beaubois, PG||Did Not Play|
|J. Cunningham, SG||Did Not Play|
|B. James, C||Did Not Play|
|Complete Box Score|