The implicit, undocumented, de facto aim of moving homeless on to somewhere else is to have them die quietly out of the public eye.
A better way to solve the “homeless problem” is to give people homes, counselling, and access to work. This is because homelessness is usually a result of losing a job and thus a house and thus one’s self esteem (and in some cases, one’s mind).