A large dock that floated ashore on an Oregon beach was torn loose from a port in Japan by last year's tsunami and drifted across thousands of miles of Pacific Ocean, a state official said Wednesday.