chunk: Add helper to copy a chunk left-padded to a certain length