Hereby means "by means of this" or "as a result of this." It is used to formally emphasize that something is being done or stated because of what is being said or written at that moment.