question: private byte [ ] createHaystack ( byte [ ] needle , int position , int size ) { byte [ ] haystack = new byte [ size ] ; for ( int i = position , j = 0 ; i < size && j < needle . length ; i ++ , j ++ ) { haystack [ i ] = needle [ j ] ; } return haystack ; }
target:  Creates a haystack byte array of the give size with a needle that starts at the given position.