Since your bit array is a byte long use the byte instead.

G VAR BYTE
H VAR BYTE


G = H

Byte H now is equal to Byte G and you can extract the bits indexing the byte