Brooklyn, N.Y., apartment building trades for $43m