use copy to create the ip4 address (this will make more sense when there is code here for the 16-byte ipv6 address)