Generalize get to AbstractArrays

This also renames the pre-allocated version get!
Make indcopy() type-stable

This yields major performance improvements for any function using
the output for indexing.