code: private void replaceHeaders(final Message from, final Message to) {
          to.getHeaders().clear();
          to.getHeaders().putAll(from.getHeaders());
      }
docs: Replaces all headers
  @param from The message to take the headers from
  @param to The message to set the headers to