include cstring for memcpy in AgentList