copyArray(Map<int, dynamic> a, b) { var l = b.length; a.clear(); for (var i = 0; i < l; i++) { a[i] = b[i]; } }