List と 配列の相互変換 ref: http://qiita.com/kics/items/a1f002a303298061febf