how to copy a block