You need to decide how you convert 1 integer to a set of bytes first.
Most probably (?) 1 integer to 4 bytes, and use the shift (>> or <<) operators to get each byte out (watch that byte ordering!). Copy to a byte array 4 times the length of the integer array.