Derek Carr and Amari Cooper got back on track last week in a win over the Chiefs, snapping a four-game losing streak.

Carr compared Cooper to another athlete, Cavaliers star LeBron James, because they both display versatility to play multiple positions.

"[James] was talking about how he played point guard this past game, and you take a guy that's super smart that can go from playing the 3 and then go to play the 1, and he can go play the 5," Carr said, via ESPN.com. "He knows all the sets. He knows all the plays.

"Amari's the same kind, mentally. He's the same kind of guy, where he can go play X, F, he can play the Y (wide receiver positions) he can play the Z. He can play H."

Cooper, 23, mainly lines up on the outside, where he can use his 6-1, 210-pound frame to body up smaller defensive backs. He attributed his versatility to his deep understanding of Oakland's route tree.

"That's very important because you have to have that spatial awareness," Cooper said. "If you only know your route, then you don't really have that awareness. If you know the guy's route next to you, then you know how much space you really have to work with."

Cooper caught 11 passes for 210 yards and a touchdown in last week's win. Oakland heads cross country to Buffalo this week to play the Bills, who are just a half-game behind the Patriots in the AFC East.