Moving capital to HK from mainland is largely subject to the same rules and regulations as moving capital to a foreign country. The reason Chinese money is parked here is because HK offers a convenient way for mainland assets to be listed. Without HK, these assets can be listed elsewhere e.g. US or UK.
In this sense, the existence of HK as an international finance center brings money closer to mainland rather than further away.