I have an `int` array for which i have allocated space for 100 elements. There is another array `inShort[]`. How can I convert `inInt[]` to `inShort[]`?

Is it necessary to allocate new memory for `inShort[]` or there is a way through which I can cast to `inInt[]`?

```
int inInt[] = new int[100];
short inShort[];

```