Only copy bits which are needed.