Environment induced entanglement in many-body mesoscopic systems