Resonance phenomena in waveguide arrays