log copy script