New South Wales Police have arrested a man as part of an investigation into suspected terrorism offences.