copy custom variables