improved copy a bit