remove element

two pointer, one to the real place, one to find the right value, copy