Add configuration, tune buffer copy