use copy instead of pyocd