Current sensing method and apparatus for a memory array