get only part of an Array in Java?

get only part of an Array in Java?