How can I remove the same values from arrays and put the remnants in two different arrays