Operating memory system using charge-coupled devices