Using the inside bending spring, turn the copper supply to the elbow. Cut off any excess pipe but leave 2 inches of straight copper for the compression fitting. Slide a compression nut and ferrule over the end of the pipe and hand-tighten the nut onto the inlet. Using an adjustable wrench, tighten it another quarter turn.
Tip: Never hold a dishwasher by its door as you move or tilt it.