Selecting an item, replacing it and remove original

hi you might get an idea on this topic