btilly's comment has a good practical explanation of HFT that expands on this
You having a faster computer and network is just your alpha.
Front running is where I take your order to buy a large amount of a stock and buy some for my self first before executing your order.
Being faster is perfectly legal.
Trading Based on a clients order is not.
btilly's comment has a good practical explanation of HFT that expands on this