added compression tp copy