I have a two-dimensional array called A which is filled randomly. My task is to copy all duplicate elements from the corresponding row to a new two-dimensional array B. Some