Amplifying optical signals with discrete solitons in waveguide arrays