fixed array copy error in game of life