Which code segment, when used to replace '--A-', will result in 'newArr' containing the values in this arrangement?
[[1,4,7],[2,5,8],[3,6,9]]