Integration method and updates to copy array back and forth.