Pulp and paper company International Paper said it would buy the pulp business of real estate investment trust Weyerhaeuser for $2.2 billion in cash.