This doesn't look bad so far, but what you probably want to do is to use another counter that counts the number of elements inserted into the arr1 array. Ex.:
1 2 3 4 5 6 7 8
int inserted = 0;
[...]
if(arr[i]<'0' || arr[i]>'9') { //<- removed semicolon here, changed && to ||, changed =< to <, >= to >
arr1[inserted]=arr[i];
inserted += 1;
}
(This is probably what you wanted to use the aux variable for)