Arrow keys move the helicopter. The parallax scrolling is implemented by the trees moving twice as fast as the mountains.
This is a demonstration of parallax scrolling. For a more detailed website about parallax scrolling read https://gamedevelopment.tutsplus.com/tutorials/parallax-scrolling-a-simple-effective-way-to-add-depth-to-a-2d-game--cms-21510