Basic optimisations on filling and copying