Reflection of cold atoms from an array of current-carrying wires