trade starbury to the wolves, do the knicks have to take back an equal contract/s??

the reason i ask is a friend says that since the wolves are under the cap, the knicks can trade star to them for players and/or draft choices, but they need not get back equal contract/s because the wolves are under the cap..

is this correct??