Platform independent copypaste