added CustomNonbonded copier function