Complex sentence: In order to avoid a possible collision, the captain raised the aircraft, but the lights did the same and put themselves at a half km. distance of the plane.
Split into simpler sentences: In order to avoid a possible collision, the captain changed the altitude of his airplane. However, the lights did the same and stayed about half a kilometer away from the plane.