Add transferTo(), fix off-by-one in clear()