How do I replace elements in a list with another?

For example I want all two to become one?

Edit
Report